package com.ruoyi.wxApp.service;

import com.ruoyi.wxApp.domain.DisWxuser;

import java.net.UnknownHostException;

public interface WxLoginService {
    String getWxOpenid(String code);

    public DisWxuser selectDisWxUserByWxId(Integer wxId);

    public int insertDisWxuser(DisWxuser disWxuser);

    public int updateDisWxuser(DisWxuser disWxuser) throws UnknownHostException;

    public DisWxuser selectDisWxuserByWxOpenid(String wxOpenid);

    public int setDefaultWxuser(String wxOpenid) throws UnknownHostException;



}
